php check how long a function took to exexute

112

$start = microtime(true);
while (...) {

}
$time_elapsed_secs = microtime(true) - $start;

Comments

Submit
0 Comments